package com.hpxx.ylzswl.dialog;

import android.content.Context;
import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.hpxx.ylzswl.R;


/**
 * 退出登录
 * @author Administrator
 */
public class ComfirmOrderDialog extends BaseDialog {

	private Button bt_ok;
	private Button bt_qx;
	private EditText ed_bz;
	private String text;

	public ComfirmOrderDialog(Context context) {
		super(context);
		this.context = context;
	}

	public ComfirmOrderDialog(Context context, String text, int theme, LeaveMyDialogListener listener) {
		super(context, theme,listener);
		this.context = context;
		this.listener = listener;
		this.text = text;
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		this.setContentView(R.layout.dialog_comfirm_order);
		TextView tv_content = (TextView) findViewById(R.id.tv_content);
		tv_content.setText(text);
		bt_ok = (Button) findViewById(R.id.bt_quit_ok);
		bt_qx = (Button) findViewById(R.id.bt_quit_qx);
		ed_bz = (EditText)findViewById(R.id.ed_bz);
		bt_ok.setOnClickListener(this);
		bt_qx.setOnClickListener(this);
	}

}